package com.yxr.constants;

public class SystemCanstants {
    /**
     *  文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;

    /**
     *  文章是正常分布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;

    /**
     * 文章列表当前查询页数
     */
    public static final int ARTICLE_STATUS_CURRENT = 1;

    /**
     * 文章列表每页显示的数据条数
     */
    public static final int ARTICLE_STATUS_SIZE = 10;

    public static final String STATUS_SIZE = "0";
//链友状态
    public static final String LINK_STATUS_NORMAL = "0";
    //评论类型为文章评论
    public static final String ARTICLE_COMMENT = "0";
    //友链评论类型
    public static final String LINK_COMMENT = "1";

    //
    public static final String REDIS_VIEWCOUNT_PREFIX = "viewCount";
    //后台菜单
    public static final String PERMISSION_MENUE = "C";
    //后台按钮
    public static final String PERMISSION_BUTTON = "F";
    public static final String ROLE_ADMIN = "admin";
}
